package com.shchekoldin.server.dto;

public class MercurialBranchDto {
    
    private String key;

    private boolean keyValid;

    private String status;
    
    private String lastRevision;

    // -------------------------------------------------------
    // LOGIC
    // -------------------------------------------------------

    //
    // API
    //

    public MercurialBranchDto(String key, boolean keyValid, String status, String lastRevision) {
        this.key = key;
        this.keyValid = keyValid;
        this.status = status;
        this.lastRevision = lastRevision;
    }

    // -------------------------------------------------------
    // GET & SET
    // -------------------------------------------------------

    public String getKey() {
        return key;
    }

    public boolean isKeyValid() {
        return keyValid;
    }

    public String getStatus() {
        return status;
    }

    public String getLastRevision() {
        return lastRevision;
    }

}
